export default [
  {
    path: '/datascreen',
    component: () => import('@/views/layout/AppLayout.vue'),
    redirect: '/datascreen/overview',
    meta: { 
      title: '数据大屏',
      icon: 'Monitor' 
    },
    children: [
      {
        path: 'overview',
        component: () => import('@/views/datascreen/DataScreenOverview.vue'),
        name: 'DataScreenOverview',
        meta: { 
          title: '流失概览大屏',
          icon: 'PieChart'
        },
        props: { fullscreen: false }
      },
      {
        path: 'customer',
        component: () => import('@/views/datascreen/CustomerInsightScreen.vue'),
        name: 'CustomerInsightScreen',
        meta: { 
          title: '客户洞察大屏',
          icon: 'User'
        },
        props: { fullscreen: false }
      },
      {
        path: 'prediction',
        component: () => import('@/views/datascreen/PredictionMonitorScreen.vue'),
        name: 'PredictionMonitorScreen',
        meta: { 
          title: '预测监控大屏',
          icon: 'TrendCharts'
        },
        props: { fullscreen: false }
      },
      {
        path: 'performance',
        component: () => import('@/views/datascreen/PerformanceScreen.vue'),
        name: 'PerformanceScreen',
        meta: { 
          title: '绩效监控大屏',
          icon: 'DataLine'
        },
        props: { fullscreen: false }
      }
    ]
  },
  // 全屏模式路由
  {
    path: '/fullscreen',
    component: () => import('@/views/layout/FullScreenLayout.vue'),
    children: [
      {
        path: 'datascreen/overview',
        component: () => import('@/views/datascreen/DataScreenOverview.vue'),
        name: 'FullscreenOverview',
        meta: { 
          title: '流失概览大屏',
          fullscreen: true
        },
        props: { fullscreen: true }
      },
      {
        path: 'datascreen/customer',
        component: () => import('@/views/datascreen/CustomerInsightScreen.vue'),
        name: 'FullscreenCustomerInsight',
        meta: { 
          title: '客户洞察大屏',
          fullscreen: true
        },
        props: { fullscreen: true }
      },
      {
        path: 'datascreen/prediction',
        component: () => import('@/views/datascreen/PredictionMonitorScreen.vue'),
        name: 'FullscreenPredictionMonitor',
        meta: { 
          title: '预测监控大屏',
          fullscreen: true 
        },
        props: { fullscreen: true }
      },
      {
        path: 'datascreen/performance',
        component: () => import('@/views/datascreen/PerformanceScreen.vue'),
        name: 'FullscreenPerformance',
        meta: { 
          title: '绩效监控大屏',
          fullscreen: true
        },
        props: { fullscreen: true }
      }
    ]
  }
] 